package com.xiaoniu.mc.client.bootstrap;

import com.xiaoniu.mc.client.builder.MoudleScanner;
import org.apache.rocketmq.client.exception.MQClientException;

import java.security.NoSuchAlgorithmException;

/**
 * @类描述：
 * @创建人：林继丰
 * @创建时间：2017/8/18 15:07
 * @版权：Copyright (c) 深圳市牛鼎丰科技有限公司-版权所有.
 */
public class XmqBootstrap {

    public static void start(String resourcePath) throws IllegalAccessException, MQClientException, InstantiationException, NoSuchAlgorithmException {
        MoudleScanner.scanConfig(resourcePath);
        MoudleScanner.scanMoudle();
    }
}
